<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login Module</title>
</head>
<body>
    <h1>欢迎来到登录界面</h1>
    <p style="color: red" th:text="${session.msg}"></p>
    <form action="/login" method="post">
        <label>用户名：</label>
        <input type="text" name="username"/>
        <label>密码：</label>
        <input type="password" name="password"/>
        <button type="submit">登录</button>
    </form>
</body>
</html>